<template>
  <div>
    <h1>test3</h1>
    <div>{{ date }}</div>
  </div>
</template>
<script lang="ts" setup name="test3">
import { ref } from 'vue';
const date = ref(new Date().toLocaleString());
function test(): void {
  date.value = new Date().toLocaleString();
}
setInterval(test, 1000);
</script>
